<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
    <tabbar></tabbar>
  </div>
</template>
<script>
// 导入导航栏组件
import tabbar from './components/tabbar'
export default {
  name: "App",
  components: {
    tabbar
  }
}
</script>
<style lang="less">
</style>
